package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


/**
 *  视图
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@ApiModel(value = "CarClass 视图", description = " 视图")
public class CarClassVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 类型Id
     */
    @ApiModelProperty(value = "类型Id")
    @Excel(name = "类型Id", orderNum = "0")
    private String entityId;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Excel(name = "名称", orderNum = "0")
    private String name;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    @Excel(name = "编码", orderNum = "0")
    private String code;

    /**
     * 父级Id
     */
    @ApiModelProperty(value = "父级Id")
    @Excel(name = "父级Id", orderNum = "0")
    private String parentId;

    /**
     * 层级编码
     */
    @ApiModelProperty(value = "层级编码")
    @Excel(name = "层级编码", orderNum = "0")
    private String devCode;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    @Excel(name = "描述", orderNum = "0")
    private String desc;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序", orderNum = "0")
    private Integer sort;

    /**
     * 状态 0：启用 1：关闭
     */
    @ApiModelProperty(value = "状态 0：启用 1：关闭")
    @Excel(name = "状态 0：启用 1：关闭", orderNum = "0")
    private Short status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    private LocalDateTime dbCreateDate;

    /**
     *  对应t_sys_user.c_id
     */
    @ApiModelProperty(value = " 对应t_sys_user.c_id")
    @Excel(name = " 对应t_sys_user.c_id", orderNum = "0")
    private Integer dbCreateId;

    /**
     * 最后更新时间
     */
    @ApiModelProperty(value = "最后更新时间")
    @Excel(name = "最后更新时间", orderNum = "0")
    private LocalDateTime dbLastUpdateDate;

    /**
     *  对应t_sys_user.c_id
     */
    @ApiModelProperty(value = " 对应t_sys_user.c_id")
    @Excel(name = " 对应t_sys_user.c_id", orderNum = "0")
    private Integer dbLastUpdateId;

    @ApiModelProperty(value = "树形子节点")
    private List<CarClassVO> children;
}
